#ifndef _DEEMBED_H_
#define _DEEMBED_H_
#include <defs.h>

//compute CH/NC differences classification into a membership-bitmap
void diff_classification_CH(
			 difference_class **,
			 class_count *,
			 int **,
			 unsigned char **,
			 unsigned int,
			 unsigned int
			 );

//extract LSB of the changeable bits
void extract_bitstream(
		    unsigned char *,
		    int **,
		    difference_class **,
		    unsigned int,
		    unsigned int
		    );

//restore original differences
unsigned char *restore_differences(
			 int **,
			 unsigned int,
			 unsigned int,
			 unsigned char *,
			 difference_class **,
			 unsigned char *
			 );

#endif
